﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    OtherWork
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
    [OrmPropertyAttribute(TableName = "OtherWork", PrimaryKey = "Ow_ID", PrimaryKeyType = "IDENTITY", ParameterType = "int")]

    public class OtherWork
    {
       
        
        #region 成员
        private int _Ow_ID;
        private int _EmployeeID;
        private string _Year;
        private int _Period;
        private string _Demo;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Ow_ID
        {
            get { return _Ow_ID; }
            set { _Ow_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 4,IsNull = "1")]
        public virtual string Year
        {
            get { return _Year; }
            set { _Year = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Period
        {
            get { return _Period; }
            set { _Period = value; }
        }

         [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Demo
        {
            get { return _Demo; }
            set { _Demo = value; }
        }
        #endregion
    }
}
